/* global App */
/* global appConfig */
require(["common", "hash_routie", "coAjax", "queryString", "jQuery", "browser", "href", "eventManager", "/js/common/goodsCart.js"], function (jSouper, hash_routie, coAjax, QueryString, $, browser, href, eventManager, goodsCart) {
	//获取指定页的商品
	coAjax.get(appConfig.goods.list, {
		bus_id: appConfig.bus_id,
		num: 12,
		page: 0
	}, function (result) {
			var goods_list = result.result;
			App.set("goods_list", goods_list);
		}, function () {
			console.log(arguments);
		});

	coAjax.get(appConfig.open.bus_assshop + App.get("bus_info.bus_id"),function (result) {
		console.log('result',result.result);
		App.set("$Cache.bus.assshop.list",result.result);
	});
});